Masterarbeit v0.6.2

Docs

Endpoint: /image/<id>

Returns an image to use on the website.

Request

URL

Method: GET /api/image/<id>

Request Parameters

  • id: ID of the image (required)

Request Body

no request body

Response

Response Elements

  • image: the image with the correct mime type

Examples

Request

GET /api/image/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Content-type: application/json

Response

~ IMAGE DATA ~
Content-type: image/png